package com.qiuling.iot.mapper;

import com.qiuling.iot.entity.SysLog;
import com.qiuling.iot.vo.req.SysLogPageReqVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysLogMapper {
    int deleteByPrimaryKey(String id);

    int insert(SysLog record);

    int insertSelective(SysLog record);

    SysLog selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SysLog record);

    int updateByPrimaryKey(SysLog record);


    /**
     * ----------------------------以下为自定义接口---------------------------------
     */
    List<SysLog> selectAll(SysLogPageReqVO vo);

    int batchDeletedLog(List<String> logIds);
}